﻿using DataScripter.Excel.Formatters;

namespace DataScripter.Excel.FormattedValues
{
	abstract class BaseFormattedValue : IFormattedValue
	{
		protected BaseFormattedValue(ICellFormatter formatter)
		{
			Formatter = formatter;
		}

		#region Implementation of IFormattedValue

		public ICellFormatter Formatter { get; set; }
		public abstract object Value { get; }

		#endregion
	}
}
